package com.java.comprehensive.design.behavioral_model.visitor_pattern;

/**
 * @Author 窦绍飞
 * @create 2023/3/2
 */
public class Dog implements Animal {
	public void accept(Person person) {
		person.feed(this);
		System.out.println("狗~~~~");
	}
}
